﻿
using System;
using gisgeb.plugins.interfaces;

namespace gisgeb.plugins.info
{
    public class InfoPlugin : IMenuEntryPlugin
    {       
        public int PositionHint {
            get {
                return 100;
            }
        }
        
        public string MenuDisplayText {
            get {
                return "Info";
            }
        }
        
        public string HelpText {
            get {
                return "Information about gisgeb";
            }
        }
        
        public Action<string> Command {
            get {
                return s => this.ShowInfo();
            }
        }
        
        private void ShowInfo()
        {
            Info info = new Info();
            info.Show();
        }
    }
}
